package com.ruoyi.gd.gdzlk.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工单资料库业务对象 z_gdzlk
 *
 * @author ruoyi
 * @date 2024-07-21
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ZGdzlkBo extends BaseEntity {

    /**
     * id
     */
    private String id;

    /**
     * 父id
     */
    @NotBlank(message = "父id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String pid;

    /**
     * 文件名称
     */
    @NotBlank(message = "文件名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String wjmc;

    /**
     * 文件路径
     */
    @NotBlank(message = "文件路径不能为空", groups = { AddGroup.class, EditGroup.class })
    private String wjpath;

    /**
     * 文件类型
     */
    @NotBlank(message = "文件类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String wjlx;

    /**
     * 创建人id
     */
    @NotBlank(message = "创建人id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String createuserid;

    /**
     * 权限人id
     */
    private String qx;

    /**
     * 权限人名称
     */
    private String qxname;

}
